﻿@model Exam.Models.Student

@{
    ViewBag.Title = "删除学生";
}

<h2>删除学生</h2>

<h3>是否确认删除？</h3>
<div>
    <h4>学生信息</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.StuName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.SturLoginName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.SturLoginName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuLoginPwd)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuLoginPwd)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuSex)

        </dt>

        <dd>
            @(Model.StuSex ? "男" : "女")
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuGrade)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuGrade)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.SturPhone)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.SturPhone)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.StuEmail)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.StuEmail)
        </dd>

    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="删除" class="btn btn-default" /> |
            @Html.ActionLink("返回学生列表", "Index")
        </div>
    }
</div>
